/**
 * 
 */
package com.roc.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 终端信息表
 * 
 * @author 陈锴
 * 
 * 2014-08-13
 */
@Entity
@Table(name = "ESTIDINFO")
public class Estidinfo implements Serializable{


	@Id
	@Column(name = "TID")
	private String tid;   //终端号
	
	@Column(name = "MID")
	private String mid;  //商户号
	
	@Column(name = "TID_KIND")
	private String tidKind;  //终端类型 01：有线 02: 无线
	
	@Column(name = "PIN_FMT")
	private String pinFmt;  //PIN格式 1: ANSI X98格式（不带主账号）2: ANSI X98算法（带主账号）
	
	@Column(name = "NOTE")
	private String note;  //备注
	
	@Column(name = "FLAG")
	private String flag;  //开通标志 1-正常开通 0-未开通
	
	@Column(name="ENC_METHOD")
	private String encMethod; //加密算法
	
	@Column(name="MAC_ALG")
	private String macAlg;  //MAX算法
	
	@Column(name="BATCH_NO")
	private String batchNo;  //批次号
	
	@Column(name="HSM_KIDX")
	private String hsm_kidx;  //终端索引
	
	
	@Column(name="SEK_IDX")
	private String sekIdx;  //SEK索引号(暂时用不上)
	
	@Column(name="SETT_STATUS")
	private String seitStatus;  //结帐标志（保留）
	
	@Column(name="LOGON_STATUS")
	private String logonStatus;  //签到标志（保留）
	
	@Transient
	private String orgCode;  //机构
	@Transient
	private String tidName;  //门店名称
	@Transient
	private String terTid;  //终端号
	@Transient
	private String status;  //是否已绑定流水号 Y 是 N 否
	@Transient
	private String midName;  //商户名称
	
	@Transient
	private String tidAddress;  //终端安装地址
	
	@Transient
	private String flagName;
	
	@Transient
	private String serialNum;  //终端序列号

	@Transient
	private String posBrand;  //品牌

	@Transient
	private String posName;  //名称
	
	public Estidinfo() {
		// TODO Auto-generated constructor stub
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String getTidKind() {
		return tidKind;
	}

	public void setTidKind(String tidKind) {
		this.tidKind = tidKind;
	}

	public String getPinFmt() {
		return pinFmt;
	}

	public void setPinFmt(String pinFmt) {
		this.pinFmt = pinFmt;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getTidName() {
		return tidName;
	}

	public void setTidName(String tidName) {
		this.tidName = tidName;
	}

	public String getTidAddress() {
		return tidAddress;
	}

	public void setTidAddress(String tidAddress) {
		this.tidAddress = tidAddress;
	}

	public String getEncMethod() {
		return encMethod;
	}

	public void setEncMethod(String encMethod) {
		this.encMethod = encMethod;
	}

	public String getMacAlg() {
		return macAlg;
	}

	public void setMacAlg(String macAlg) {
		this.macAlg = macAlg;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public String getSekIdx() {
		return sekIdx;
	}

	public void setSekIdx(String sekIdx) {
		this.sekIdx = sekIdx;
	}

	public String getSeitStatus() {
		return seitStatus;
	}

	public void setSeitStatus(String seitStatus) {
		this.seitStatus = seitStatus;
	}

	public String getLogonStatus() {
		return logonStatus;
	}

	public void setLogonStatus(String logonStatus) {
		this.logonStatus = logonStatus;
	}

	public String getMidName() {
		return midName;
	}

	public void setMidName(String midName) {
		this.midName = midName;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getTerTid() {
		return terTid;
	}

	public void setTerTid(String terTid) {
		this.terTid = terTid;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getHsm_kidx() {
		return hsm_kidx;
	}

	public void setHsm_kidx(String hsm_kidx) {
		this.hsm_kidx = hsm_kidx;
	}

	public String getFlagName() {
		return flagName;
	}

	public void setFlagName(String flagName) {
		this.flagName = flagName;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getPosBrand() {
		return posBrand;
	}

	public void setPosBrand(String posBrand) {
		this.posBrand = posBrand;
	}

	public String getPosName() {
		return posName;
	}

	public void setPosName(String posName) {
		this.posName = posName;
	}
	
	
}
